uswsusp: Disable when securelevel is set
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 3 Sep 2013 15:23:29 +0000 (11:23 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 4 Jan 2017 19:39:36 +0000 (19:39 +0000)
commitdc1d008209ec102b05156ad42c37b0911d8732be
treeabe650d6aee51b55ec78b8925a88b769a7a5b7f0
parentc5a03ee608c00d7bd5d0b4dd25995010af0071fc
uswsusp: Disable when securelevel is set

uswsusp allows a user process to dump and then restore kernel state, which
makes it possible to modify the running kernel. Disable this if securelevel
has been set.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Gbp-Pq: Topic features/all/securelevel
Gbp-Pq: Name uswsusp-disable-when-securelevel-is-set.patch
kernel/power/user.c